Symptom of table corruption
A typical symptom of a damaged table is as follows:1. When selecting data from a table, you get the following error:Incorrect key file for table: ' ... '. Try to repair it2. The query cannot find rows in the table or
One: MySQL myisam table damage Reason summary:
1, the server suddenly power off causing data file corruption, forced shutdown, did not first shut down the MySQL service; the mysqld process was killed while writing the table.2, disk damage.3, the
Is the database will inevitably error, out of the wrong will certainly need to repair.
phpMyAdmin is a good MySQL management tool that has a repair function for a table in a database. But when this table is no longer able to open it does not see
I. Summary of the causes of MyISAM Table Corruption in MySQL:
1. The data file is damaged due to a sudden power failure on the server. The mysql service is forcibly shut down without being shut down first. The mysqld process is killed when writing a
PHP build (windows64 + apache2.4.7 + mysql-5.6 + php5.5 + phpMyAdmin) and Discuz installation, the following articles refer to the three sources, in addition to my build problems encountered in the process of repair notes:
PHP environment setup
In the background, I found that a function was invalid and various detection methods were used. then I detected that a table in the database was accidentally deleted. I backed up the data and downloaded it from the google browser, after the original
The following articles mainly describe how to correctly repair corrupted MySQL Data Tables. There are two methods: checktable and repairtable, and myisamchk and isamchk, mySQL (the best combination with PHP) database errors caused by power failure
ErrorIt is possible that you found a bug in the SQL Analyzer. Please check your query carefully, including whether the quotes are correct and match. Other possible reasons for failure may be because you have uploaded binary data beyond the reference
1. Table Damage Reason analysis
The following are common causes of MySQL table corruption:1, the sudden loss of power to the server caused data file corruption.2, forced shutdown, did not first shut down the MySQL service.3. The mysqld process was
It is a common problem to have a database error with MySQL (the best combination of PHP) with a power outage or an abnormal shutdown. There are two ways, one way to use the SQL statements of Check table and repair table for MySQL (and the best
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.